package top.jiachunlei.mediator;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/11 19:31
 */
public class MediatorClient
{
    public static void main(String[] args)
    {
        User robert = new User("Robert");
        User john = new User("John");

        robert.sendMessage("Hi! John!");
        john.sendMessage("Hello! Robert!");
    }
}
